package com.wesley.factory.abstractFactory;


/**
 * @author:wesley
 */
public class DefaultFactory2 extends AbstractFactory {
    @Override
    public Food createFood() {
        return new Orange();
    }

    @Override
    public Vehicle createVehicle() {
        return new Broom();
    }

    @Override
    public Weapon createWeapon() {
        return new Tank();
    }
}
